<?php
require_once('configure.php'); 
list( $nama,$nid) = explode("/" ,$_GET['q'] );


$query2 = "SELECT  nama , nid  FROM spd_non_karyawan  
WHERE  nama LIKE '{$_GET['q']}%' ";
$res2 = my_query($query2);
 
while( $rw2=my_fetch_array($res2) ){
	echo strtoupper( $rw2['nama'] .'/'.$rw2['nid'] )."\n";
}
exit;
?>